import request from '@/utils/request'

// 获取公司列表
export const companyListAPI = (params) => {
  return request({
    url: '/companies/list',
    params
  })
}

// 获取公司详情
export const companyDetailAPI = (id) => {
  return request({
    url: `/companies/${id}`
  })
}

// 获取公司评论
export const companyCommentsAPI = (id) => {
  return request({
    url: `/companies/${id}/comments`
  })
}
